﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace MODEL.ViewModel
{
    public class CourseSituation
    {
        [DisplayName("课程情况id")]
        public int Id { get; set; }

        [DisplayName("第几期")]
        [Required]
        public int Period { get; set; }

        [DisplayName("课程编号")]
        [Required]
        public string CourseNum { get; set; }

        [DisplayName("课程id")]
        [Required]
        public int  CourseId { get; set; }

        [DisplayName("老师")]
        public string Teacher { get; set; }

        [DisplayName("课程老师介绍")]
        public string TeacherIntroduce { get; set; }



        [DisplayName("课程计划")]
        [Required]
        public string  CoursePlan { get; set; }

        [DisplayName("上课时间")]
        [Required]
        public string ClassTime { get; set; }

        [DisplayName("上课地点")]
        public string ClassLocation { get; set; }

        [DisplayName("课程人数")]
        public Nullable<int> ClassNum { get; set; }

        [DisplayName("开始上课时间")]
        public string  ToBegin { get; set; }

        [DisplayName("课程结束时间")]
        public String  ToEnd { get; set; }

        //[DisplayName("开始报名时间")]
         
        //public Nullable<System.DateTime> ApplyTime { get; set; }

        //[DisplayName("结束报名时间")]
        //[Required]
        //public Nullable<System.DateTime> EndTime { get; set; }

        [DisplayName("报名人数")]
        [Required]
        public int EnrollNum { get; set; }

    }
}
